<%@ include file="/common/taglibs.jsp"%>
<probiz:pageHeading pageHeadingKey="applicantsList.heading" />

<content tag="buttons">
	<probiz:iconBtn btnType="add" onclick="return fnDoAdd(this);" />
	<%-- 如果没有批量保存则去掉此段代码
		<probiz:iconBtn btnType="save" onclick="return fnDoMultiSave(this);" />
	--%>
	<probiz:iconBtn btnType="delete" onclick="return fnDoMultiDelete(this);" />
</content>
<search:searchBox formAction="${ctxPath}/sales/applicants.html" enableMoreSearch="false">
	<div class="basic_search">
		<search:basicSearch attrPath="s.applicantsName" attrNameKey="applicants.applicantsName" datatype="String" operator="LIKE" classes="inputtxt" labelWidth="80px"/>
	</div>
</search:searchBox>

<form class="mainForm" name="applicantsListForm" method="post">
	<div class="top clearfix">
		<ul class="tab">
			<li class="curr"><span><fmt:message key="applicantsList.heading"/></span></li>
		</ul>
		<%@include file="/common/pagingOnlyTop.jsp"%>
	</div>
	<div class="data">
		<c:set var="editURLPath" value="/sales/applicants.html?doAction=edit&from=list" scope="page" />
		<c:set var="checkAll"><input type="checkbox" name="allbox" onclick="checkAll(this.form)" class="checkbox"/></c:set>
		<display:table name="${applicantsList}" cellspacing="0" cellpadding="0" uid="applicants" class="list_table" export="false" requestURI="" style="width:100%">
			<display:column class="checkbox_column" title="${checkAll}" media="html">
				<input type="checkbox" name="multiIds" value="${applicants.applicantsId}" class="checkbox" title="${applicants.applicantsName}"/>
			</display:column>
			<display:column sortable="false" url="${editURLPath}" paramId="applicantsId" paramProperty="applicantsId" titleKey="applicants.applicantsName" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" >
				${applicants.applicantsName}
			</display:column>
	   		<display:column property="jobStatus" sortable="false" titleKey="applicants.jobStatus" headerClass="data-table-title"	decorator="com.probiz.estore.core.decorator.TblColumnDecorator"/>
	   		<display:column property="area" sortable="false" titleKey="applicants.area" headerClass="data-table-title"	decorator="com.probiz.estore.core.decorator.TblColumnDecorator"/>
	   		<display:column property="email" sortable="false" titleKey="applicants.email" headerClass="data-table-title"	decorator="com.probiz.estore.core.decorator.TblColumnDecorator"/>
	   		<display:column property="phone" sortable="false" titleKey="applicants.phone" headerClass="data-table-title"	decorator="com.probiz.estore.core.decorator.TblColumnDecorator"/>
		</display:table>
		<%@include file="/common/pagingOnly.jsp"%>
	</div>
</form>
<script type="text/javascript">
	highlightTableRows("applicants");
</script>